package com.health.userbackstage.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.ibatis.ognl.OgnlRuntime;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author ASUS
 * @Date 2023/8/21 20:43
 * @Version 1.0
 */
@Data
@TableName("ordersetting")
public class OrderSetting {

    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("orderdate")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern ="yyyy-MM-dd")
    private Date orderDate;
    private Integer number;
    private Integer reservations;
    private Integer deleted;
    @Version
    private Integer version;
}
